package com.wuye.services;

import java.util.List;

import com.wuye.common.services.BaseManager;
import com.wuye.common.vo.ZTreeInfo;
import com.wuye.entity.Area;

public interface AreaServiceManager extends BaseManager{
	/**
	 * 根据上级ID获取Area信息
	 * @param upAreaId
	 * @return
	 */
	public List<Area> getAreas(int upAreaId);
	public List<ZTreeInfo> getAreaInfos(List<Integer> openAreaIds);
	public void addArea(Area area) throws Exception;
	public void updateArea(Area area) throws Exception;
	public void delArea(int areaId) throws Exception;
	public Area getArea(int areaId) throws Exception;
	public String getParents(int id);
}
